package YZ.Students.Mier.Service;

import YZ.Students.Mier.entity.UserEntity;

import java.util.Map;

/**
 * @className: UserService
 * @author: shuishui
 * @date: 2022/12/02 21:04
 */
public interface UserService extends BaseService<UserEntity> {
    void register(UserEntity userEntity) throws Exception;

    UserEntity byActivationCode(String activationCode) throws Exception;

    UserEntity login(String username, String password)  throws Exception;

    void updateHeaderUrl(Integer id, String filePath) throws Exception;

    boolean changePassword(Map mapp, Integer id);
}
